package com.huayanginfo.saas.users;

import java.util.List;

import com.huayanginfo.saas.domain.member.User;

public class UserService {
	
	
	private UserDao userDao;

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public User getUser(User user) {
		List<User> uList = getUserDao().getUserByExample(user);
		return uList.get(0);
	}
}
